﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace for7raid.vkPlayer
{
    public class SettingsViewModel : DependencyObject
    {

        //public bool IsUseProxy
        //{
        //    get { return (bool)GetValue(IsUseProxyProperty); }
        //    set { SetValue(IsUseProxyProperty, value); }
        //}

        //public static readonly DependencyProperty IsUseProxyProperty =
        //    DependencyProperty.Register("IsUseProxy", typeof(bool), typeof(SettingsViewModel), new UIPropertyMetadata(false,
        //        (d, e) =>
        //        {
        //            Properties.Settings.Default.IsUseProxy = (bool)e.NewValue;
        //            Properties.Settings.Default.Save();
        //        }
        //        ));


        //public bool IsUseKeyboardHook
        //{
        //    get { return (bool)GetValue(IsUseKeyboardHookProperty); }
        //    set { SetValue(IsUseKeyboardHookProperty, value); }
        //}

        //public static readonly DependencyProperty IsUseKeyboardHookProperty =
        //    DependencyProperty.Register("IsUseKeyboardHook", typeof(bool), typeof(SettingsViewModel), new UIPropertyMetadata(false,
        //        (d, e) =>
        //        {
        //            Properties.Settings.Default.IsUseKeyboardHook = (bool)e.NewValue;
        //            Properties.Settings.Default.Save();
        //        }
        //        ));

        public SettingsViewModel()
        {
            //IsUseProxy = Properties.Settings.Default.IsUseProxy;
            //IsUseKeyboardHook = Properties.Settings.Default.IsUseKeyboardHook;
        }
    }
}
